import { createRouter, createWebHistory } from 'vue-router'

// 导入组件（需先创建这些组件）
import HomePage from '@/views/HomePage.vue'


const routes = [
  {
    path: '/',
    name: 'HomePage',
    component: HomePage
  }

]

const router = createRouter({
  history: createWebHistory(),
  routes
})

export default router